package org.easymis.erp.modules.system.service;

import java.util.Set;

import org.easymis.erp.modules.system.entitys.mybatis.dto.Member;

public interface MemberService {
	Member findByUsername(String username);

	/**
	 * 获取用户角色
	 * 
	 * @param username
	 * @return
	 */
	public Set<String> getRoles(String username);

	/**
	 * 
	 * @param username
	 * @return
	 */
	public Set<String> getPermissions(String username);
}
